import { useRoutes } from "react-router-dom";
import Music from '../views/Music'
import More from '../views/More'
const RouterView=()=>{
    const routes=useRoutes([
        {
            path:"/music",
            element:<Music/>
        },
        {
            path:"/more",
            element:<More/>
        }
    ])
    return routes;
}
export default RouterView